

luanet.load_assembly("Urbania");

EVENTCOMPONENT = luanet.import_type("Urbania.Components.EventComponent");
POPUP = luanet.import_type("Urbania.GUI.Elements.PopUp");
BUTTON = luanet.import_type("Urbania.GUI.Elements.Button");
TEXTELEMENT = luanet.import_type("Urbania.GUI.Elements.TextElement");

popup = CreatePopUp(0,0,800,600);
text = CreateText('Hello, my name is Mr. Regblini,', 20, 20);
popup:AddElement(text);

text = CreateText('I would like to offer you the opportunity,', 20, 40);
popup:AddElement(text);

text = CreateText('to build the latest in superstores!,', 20, 60);
popup:AddElement(text);

text = CreateText('You would get: +5 Happiness, but lose a forest.', 20, 80);
popup:AddElement(text);
